package odmd;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * @author <a mailto="hwangsyin@gmail.com">King</a>
 *
 */
public final class Configuration {
	private static Map<String, String> params = null;
	
	public static void put(String key, String value) {
		synchronized(Configuration.class) {
			if(params == null) {
				params = new HashMap<String, String>();
			}
		}
		params.put(key, value);
	}
	public static String get(String key) {
		String value = null;
		
		if(params != null) {
			value = params.get(key);
		}
		
		return value;
	}
}
